package cdu.sl.service;


import cdu.sl.pojo.dto.StudentScoreInfoDTO;
import cdu.sl.pojo.dto.SubmitScoreInfoDTO;
import cdu.sl.pojo.vo.DashBoardVO;
import cdu.sl.pojo.vo.PhysicalTestDataReportWorkDetailsVO;
import cdu.sl.pojo.vo.TestItemScoreInfoVO;
import cdu.sl.pojo.vo.TestItemVO;
import com.fasterxml.jackson.core.JsonProcessingException;

import java.util.List;

public interface DataReportService {

    PhysicalTestDataReportWorkDetailsVO getThisYearWorkDetails();

    DashBoardVO getDashBoardRequiredDataByRole() throws JsonProcessingException;

    List<TestItemVO> getTestItemsByStudentId(Long studentId);

    void submitScoreInfo(Long studentId, SubmitScoreInfoDTO scoreInfoDTO);

    List<TestItemScoreInfoVO> getStudentScoreInfoById(Long studentId);

    void updateStudentScoreInfo(Long studentId, StudentScoreInfoDTO studentScoreInfoDTO);
}
